﻿<Page
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:AdRotatorExampleWin8"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:AdRotatorWin8="using:AdRotatorWin8"
    x:Class="AdRotatorExampleWin8.MainPage"
    mc:Ignorable="d">

    <Grid Background="{StaticResource ApplicationPageBackgroundThemeBrush}">

        <AdRotatorWin8:AdRotatorControl x:Name="AdRotatorWin8"
                                        AdHeight="90"
                                        AdWidth="728"
                                        VerticalAlignment="Top" 
                                        HorizontalAlignment="Right"
                                        DefaultSettingsFileUri="defaultAdSettings.xml"
                                        SettingsUrl="http://adrotator.apphb.com/defaultAdSettingsWindows8.xml" 
                                        IsTest="True"
                                        SlidingAdDirection="Top" SlidingAdDisplaySeconds="5" SlidingAdHiddenSeconds="5"
                                        Margin="20"/>
        <AdRotatorWin8:AdRotatorControl x:Name="AdRotatorWin8_2"
                                        AdHeight="90"
                                        AdWidth="728"
                                        VerticalAlignment="Bottom" 
                                        HorizontalAlignment="Left"
                                        DefaultSettingsFileUri="defaultAdSettings_local.xml"
                                        IsTest="True"
                                        SlidingAdDirection="Bottom" SlidingAdDisplaySeconds="5" SlidingAdHiddenSeconds="5"
                                        Margin="20"/>
    </Grid>
</Page>
